﻿namespace ED.IService.Grpc
{
    /// <summary>
    /// Grpc服务
    /// </summary>
    public interface IGrpcClientService<T> where T : class
    {
        /// <summary>
        /// 获取服务
        /// </summary>
        /// <param name="serviceName">远程服务名称</param>
        /// <returns></returns>
        public Task<T> GetService(string serviceName);
    }
}
